package com.ymttest.database.sqlwapper;

import com.ymt.database.SqlManager;
import com.ymttest.database.model.YmtCouponSequence;
import com.ymttest.utils.EnvSetup;

public class YmtCouponSequenceWapper {
	SqlManager manage;

	public YmtCouponSequenceWapper() {
		manage = new SqlManager("ymt" + EnvSetup.getEnv());
	}
	
	public YmtCouponSequence selectByPrimaryKey(Integer sequenceId) {
		YmtCouponSequence result = (YmtCouponSequence)manage
				.getSelectResults(
						"com.ymttest.database.mapping.YmtCouponSequenceMapper.selectByPrimaryKey",
						sequenceId).get(0);
		return result;
	}
	
}
